﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;

namespace FB.Helpers
{
    public class FBPlatform
    {
    
        public static void Initializer(FB.Enums.ApplicationKey appKey, string connectionStringNameForAppLogger, string connectionStringNameForMemberLogger = null)
        {
            #region Create NLog
            var loggingSrv = new FB.Services.LoggingService();
            NLog.LogManager.Configuration = loggingSrv.GetLoggingConfig(connectionStringNameForAppLogger, connectionStringNameForMemberLogger);
            #endregion

            #region AppKey
            AppSettingsBase.SetAppKey(appKey.ToString());
            #endregion
        }



    }
}
